package com.chao.wind3j.service;

import com.chao.wind3j.base.config.commonConfig.requestLogConfig.requestWrapper.CustomRequestWrapper;
import com.chao.wind3j.model.dataBaseModel.Wind3User;
import com.chao.wind3j.model.dataVo.LoginWind3UserVo;
import com.chao.wind3j.model.searchParams.Wind3UserParams.Wind3UserLoginParam;

import java.util.List;

public interface Wind3UserService {
  List<Wind3User> getWind3UserList(Wind3User wind3User);

  void deleteWind3User(String userId);

  void tombstoneWind3User(boolean status, String userId);

  void updateWind3User(Wind3User wind3User);

  void insertWind3User(Wind3User wind3User);

  Wind3User getOneWind3UserById(String userId);

  Wind3User getUserInfoByToken(String token);

  LoginWind3UserVo login(CustomRequestWrapper customRequestWrapper, Wind3UserLoginParam userParam) throws Exception;

  void logout(CustomRequestWrapper customRequestWrapper);
}
